package com.launch.wlfw.dao;

import com.launch.wlfw.dto.LendListDTO;
import com.launch.wlfw.pojo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface NoticeMapper {
    //查询所有类型信息
    List<Notice> findAllInfo(Notice notice);
    //添加类型信息
    Integer addInfo(Notice notice);
    //删除类型信息
    Integer delInfoByID(Integer id);
    //修改类型信息
    Integer updateInfo(Notice notice);
    //更改后查询
    Notice queryById(long id);

    Integer delInfoByIds(@Param("ids") List<String> ids);

    List<Notice> selectAllNotice();
}
